<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>内容页</title>
<link rel="stylesheet/less" type="text/css" href="http://localhost/baidusale/Application/Index/View/Public/css/content.less" />
<!-- head -->
<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><link rel="stylesheet/less" type="text/css" href="http://localhost/baidusale/Application/Index/View/Public/css/head-foot.less" />
<script src="http://localhost/baidusale/Application/Index/View/Public/js/less.js" type="text/javascript"></script>
<script src="http://localhost/baidusale/Application/Index/View/Public/js/jquery.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
    // 登录
    $('#login').click(function(){
        $('.login-kuang').css("display","block");
    })
    $('.login-close').click(function(){
        $('.login-kuang').css("display","none");
    })
    // 注册
    $('#regist').click(function(){
        $('.regist-kuang').css("display","block");
    })
    $('.regist-close').click(function(){
        $('.regist-kuang').css("display","none");
    })
})
</script>
<script type='text/javascript' src='http://localhost/baidusale/hdphp/Extend/Org/Jquery/jquery-1.8.2.min.js'></script>
<link href='http://localhost/baidusale/hdphp/hdjs/css/hdjs.css' rel='stylesheet' media='screen'>
<link href='http://localhost/baidusale/hdphp/hdjs/css/hdvalidate.css' rel='stylesheet' media='screen'>
<script src='http://localhost/baidusale/hdphp/hdjs/js/hdjs.js'></script>
<script src='http://localhost/baidusale/hdphp/hdjs/js/hdvalidate.js'></script>
<script src='http://localhost/baidusale/hdphp/hdjs/js/slide.js'></script>
<script src='http://localhost/baidusale/hdphp/hdjs/org/cal/lhgcalendar.min.js'></script>
<script type='text/javascript'>
HOST = '<?php echo $GLOBALS['user']['HOST'];?>';
ROOT = '<?php echo $GLOBALS['user']['ROOT'];?>';
WEB = '<?php echo $GLOBALS['user']['WEB'];?>';
URL = '<?php echo $GLOBALS['user']['URL'];?>';
APP = '<?php echo $GLOBALS['user']['APP'];?>';
COMMON = '<?php echo $GLOBALS['user']['COMMON'];?>';
HDPHP = '<?php echo $GLOBALS['user']['HDPHP'];?>';
HDPHPDATA = '<?php echo $GLOBALS['user']['HDPHPDATA'];?>';
HDPHPEXTEND = '<?php echo $GLOBALS['user']['HDPHPEXTEND'];?>';
MODULE = '<?php echo $GLOBALS['user']['MODULE'];?>';
CONTROLLER = '<?php echo $GLOBALS['user']['CONTROLLER'];?>';
ACTION = '<?php echo $GLOBALS['user']['ACTION'];?>';
STATIC = '<?php echo $GLOBALS['user']['STATIC'];?>';
HDPHPTPL = '<?php echo $GLOBALS['user']['HDPHPTPL'];?>';
VIEW = '<?php echo $GLOBALS['user']['VIEW'];?>';
PUBLIC = '<?php echo $GLOBALS['user']['PUBLIC'];?>';
CONTROLLERVIEW = '<?php echo $GLOBALS['user']['CONTROLLERVIEW'];?>';
HISTORY = '<?php echo $GLOBALS['user']['HISTORY'];?>';
</script>
<script src="http://localhost/baidusale/Application/Index/View/Public/js/js.js" type="text/javascript"></script>

</head>
<body>
<!-- 头部开始 -->
<div id="top">
    <a id="logo" href="/waimai"></a>
    <div id="change">
        <div></div>
        <input type="text" value="烟云村">
        <a href="">切换</a>
    </div>
    <ul>
        <a href=""><li style="background:#dc1432;">外卖</li></a>
        <a href=""><li>我的订单</li></a>
        <a href=""><li>联系我们</li></a>
    </ul>
    <div id="in">
         <a id="login" href="###">登录</a>
         <a id="regist" href="###">注册</a>
    </div>
    <div id="user"><a href="">欢迎<?php echo $_SESSION['username'];?>回来</a></div>
    <!-- 登陆框 -->
    <div class="login-kuang">
        <div class="login-kuang-top">
            <div class="login-kuang-top1"></div>
            <div class="login-kuang-top2">登录百度账号</div>
            <div class="login-close"></div>
        </div>
        <form id="LoginForm" action="" method="post">
            <div class="user">
                <div class="user-left"></div>
                <input type="text" name="user" value="凯爵爷">
                <div class="user-right"></div>
            </div>
            <div class="password">
                <div class="password-left"></div>
                <input type="text" name="password" value="密码">
                <div class="password-right"></div>
            </div>
            <div class="auto">
                <input type="checkbox" checked="checked"  name="auto">
                <span>&nbsp;&nbsp;下次自动登录</span>
                <a href="">忘记密码？</a>
            </div>
            <input type="submit" name="submit" class="submit" value="登录">
            <a class="lijizhuce" href="">立即注册</a>
        </form>
        <a href=""></a>
    </div>

 <!-- 注册框 -->
    <div class="regist-kuang">
        <div class="regist-kuang-top">
            <div class="regist-kuang-top1"></div>
            <div class="regist-kuang-top2">注册百度账号</div>
            <div class="regist-close"></div>
        </div>
        <form id="regForm" action="javascript:;" method="post">
            <div>
                <span>用户名</span>
                <input class="user" type="text" name="username_reg">
            </div>
            <div>
                <span>密码</span>
                <input class="password1" type="text" name="password1">
            </div>
            <div>
                <span>确认密码</span>
                <input class="password2" type="text" name="password2">
            </div>
            <div>
                <span>验证码</span>
                <input class="code" type="text" name="code"> 
               
            </div>    
            <img id="code" src="<?php echo U('Regist/code');?>" alt="" onclick="this.src=this.src + '&' + Math.random()">        
            <div class="auto">
                <input type="checkbox" checked="checked"  name="auto">
                <span>&nbsp;&nbsp;我已阅读并接受<a href="">《百度用户协议》</a></span>
            </div>
            <input type="submit" name="submit" class="submit" value="注册">          
        </form>
        <a class="yiyou" href="">登录已有账号</a>
    </div>    
</div>
<script src="http://localhost/baidusale/Application/Index/View/Public/js/hd_plugs_v140729.js" type="text/javascript"></script>
<script src="http://localhost/baidusale/Application/Index/View/Public/js/content.js" type="text/javascript"></script>
<!-- 内容介绍 -->
<div id="concent"><a href="">首页</a>&nbsp;>&nbsp;<span>川府酒家</span></div>
<div id="dianpujieshao">
     <img class="pic" src="http://localhost/baidusale/<?php echo $sto_data['store_picture'];?>" alt="">
     <div class="kuang">
         <div class="title"><?php echo $sto_data['name'];?></div>
         <div class="chuancai"><span>快餐</span><div class="star"></div></div>
         <div class="tm"><div class="time"></div><span>&nbsp;&nbsp;营业时间&nbsp;&nbsp;:&nbsp;&nbsp;&nbsp;&nbsp;<?php echo $sto_data['startime'];?>--<?php echo $sto_data['endtime'];?></span><div class="yingye">营业中</div></div>
         <div class="point"><?php echo $sto_data['point'];?></div>
         <span class="num">评价人数不足</span>
         <br>
         <ul>
            <li><span>5分</span><div></div><span>0人</span></li>
            <li><span>4分</span><div></div><span>0人</span></li>
            <li class="only"><span>3分</span><div></div><span>1人</span></li>
            <li><span>2分</span><div></div><span>0人</span></li>
            <li><span>1分</span><div></div><span>0人</span></li>
        </ul>
     </div>
     <div class="dianpujieshao-right">
         <div class="pingju"><span class="span1"><?php echo $sto_data['sendtime'];?>分钟</span><span class="span2">平均送达时间</span></div>
         <div class="qibujia"><span class="span1">¥<?php echo $sto_data['start_price'];?></span><span class="span2">起送价</span></div>
         <div class="peisongfei"><span class="span1">¥<?php echo $sto_data['sendprice'];?></span><span class="span2">配送费</span></div>
     </div>
</div>

<!-- 商品介绍 -->
<div id="goods">
    <div class="goods-left">
       <a class="only" href="">菜单</a>
       <a href="">评价</a>
    </div>
    <div class="goods-right"><div class="star"></div><span>收藏餐厅</span></div>
    <div class="goods_type">
        <?php if(is_array($type_data)){?><?php  foreach($type_data as $key=>$v){ ?>
        <a href=""><?php echo $v['tname'];?></a>
        <?php }}?>
    </div>
    <ul class="type_data">
        <?php if(is_array($type_goods_data)){?><?php  foreach($type_goods_data as $k=>$v){ ?>
            <span><?php echo $k;?></span>
            <?php if(is_array($v)){?><?php  foreach($v as $key=>$s){ ?>
                <li id="goods_<?php echo $s['gid'];?>">
                    <img src="http://localhost/baidusale/<?php echo $s['goods_picture'];?>" alt="">
                    <span><?php echo $s['gname'];?></span>
                    <p><?php echo $s['tuijian'];?>人推荐</p>
                    <span class="price">¥<?php echo $s['new_price'];?></span>
                    <div class="add_del">
                        <div class="add_del_left"  sid="<?php echo $s['bd_store_sid'];?>" gid="<?php echo $s['gid'];?>" act="del"></div>
                        <div class="add_del_num"><input type="button" value="0"></div>
                        <div class="add_del_right" sid="<?php echo $s['bd_store_sid'];?>" gid="<?php echo $s['gid'];?>" act="add"></div>
                   </div>
                </li>
            <?php }}?>
        <?php }}?>
    </ul>
</div>
<!-- 购物车 -->
<div id="car_list">
    <div class="car_list_top">
        <div class="car_list_top1">购物车</div>
        <div class="car_list_top2">清空</div>
    </div>
    <div class="car_list_name">
        <div class="car_list_name1">菜品</div>
        <div class="car_list_name2">份数</div>
        <div class="car_list_name3">单价</div>
    </div>
    <ul>
        
    </ul>
</div>
<div id="car">        
    <div class="nothing">
        <div class="car_img"></div>
        <div class="empty">购物车是空的</div>
    </div>
    <div class="car_left">
        <div class="zongjia">
            <div class="car_img"></div>
            <div class="now_price"> 共 ¥<span>0</span> 元</div>
            <div class="old_price">原价 ¥<span>0</span> 元</div>
        </div>
    </div>
    <div class="car_right">差 ¥<span class="chajia">100</span> 元起送</div>
    <a href="<?php echo U('Order/index');?>" class="ok">选好了</a>
</div>
<!-- foot -->
<?php if(!defined("HDPHP_PATH"))exit;C("SHOW_NOTICE",FALSE);?><!-- foot -->
<div id="foot">
    <ul class="foot_top">
        <li>   
            <h3>帮助</h3>
            <a href="">使用帮助</a>
            <a href="">常见问题</a>
            <a href="">建议与反馈</a>
        </li>
        <div class="line"></div>
        <li>
            <h3>关注我们</h3>
            <a href="">新浪微博</a>
            <a href="">微信公众号</a>
            <a href="">APP下载</a>
        </li>
        <div class="line"></div>
        <li>
            <h3>商务合作</h3>
            <a href="">邮箱：waimai-zhaoshang@baidu.com</a>
        </li>
        <div class="line"></div>
        <li>
            <h3  style="font-size:19.2px;"><div id="kefu"></div>客服热线</h3>
            <span id="span1">400-011-7777</span>
            <span id="span2">周一至周日9:00-22:00</span>

        </li>
    </ul>
    <div class="foot_botton">
        <img src="http://localhost/baidusale/Application/Index/View/Public/images/7.png" alt="">
        <span>&nbsp;© 2014 Baidu<a href="">使用百度前必读</a></span>
    </div>
</div>
